[LIBXC] Make strerror() thread-safe by protecting it with a mutex.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 8 Dec 2006 15:59:30 +0000 (15:59 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 8 Dec 2006 15:59:30 +0000 (15:59 +0000)
commit9eafa32f4860b2634f0fac37f2987744f58bf299
treebc4ac70a35abfa41970a18d42f13c531fdf0761d
parente2bfc5ae076d24bf75584028b1d3026ffd8f4d5f
[LIBXC] Make strerror() thread-safe by protecting it with a mutex.
Using strerror_r() is made difficult by the different GNU definition,
and different distros variously choose the POSIX or GNU prototype.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/libxc/Makefile
tools/libxc/xc_private.c